entry: deprecate the progress-border style property
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 30 Jan 2012 22:27:17 +0000 (17:27 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 31 Jan 2012 15:04:27 +0000 (10:04 -0500)
Since we don't use it anymore.

gtk/gtkentry.c

index f73ccb48cfc328d223eaa5bd25576b1c989b7a4a..28ca10ba3c45430d5fab0fab01ace678734d86ff 100644 (file)
@@ -1375,13 +1375,17 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The border around the progress bar in the entry.
    *
    * Since: 2.16
+   *
+   * Deprecated: 3.4: Use the standard margin CSS property;
+   *   the value of this style property is ignored.
    */
   gtk_widget_class_install_style_property (widget_class,
                                           g_param_spec_boxed ("progress-border",
                                                                P_("Progress Border"),
                                                                P_("Border around the progress bar"),
                                                                GTK_TYPE_BORDER,
-                                                               GTK_PARAM_READABLE));
+                                                               GTK_PARAM_READABLE |
+                                                               G_PARAM_DEPRECATED));
   
   /**
    * GtkEntry:invisible-char: